package io.acna.blog.entities;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable {
    private Long articleId;

    private Long userId;

    private String title;

    private String titleColor;

    private String content;

    private String breviaryContent;

    private Date createTime;

    private Date updateTime;

    private Integer activiteStatus;

    private Boolean isTop;

    private Long commentTotal;

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getTitleColor() {
        return titleColor;
    }

    public void setTitleColor(String titleColor) {
        this.titleColor = titleColor == null ? null : titleColor.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getBreviaryContent() {
        return breviaryContent;
    }

    public void setBreviaryContent(String breviaryContent) {
        this.breviaryContent = breviaryContent == null ? null : breviaryContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getActiviteStatus() {
        return activiteStatus;
    }

    public void setActiviteStatus(Integer activiteStatus) {
        this.activiteStatus = activiteStatus;
    }

    public Boolean getIsTop() {
        return isTop;
    }

    public void setIsTop(Boolean isTop) {
        this.isTop = isTop;
    }

    public Long getCommentTotal() {
        return commentTotal;
    }

    public void setCommentTotal(Long commentTotal) {
        this.commentTotal = commentTotal;
    }
}